Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

632084 Views

Latest files of /cody/vishal-dcode/Drink Water

app.js cody/vishal-dcode/Drink Water/app.js
6 Views
0 Comments
// Get all elements with class "cup-small"
const smallCups = document.querySelectorAll(".cup-small");

// Get elements with IDs "liters", "percentage", and "remained"
const liters = document.getElementById("liters");
const percentage = document.getElementById("percentage");
const remained = document.getElementById("remained");

style.css cody/vishal-dcode/Drink Water/style.css
4 Views
0 Comments
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
index.html cody/vishal-dcode/Drink Water/index.html
19 Views
0 Comments
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<link